﻿using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace Marbles.Core.Web.Cart
{
    [Serializable()]
    public abstract class Product : IProduct
    {
        public string Category { get { return this._category; } set { this._category = value; } }
        public string ProductId { get { return this._productid; } set { this._productid = value; } }
        public string Name { get { return this._name; } set { this._name = value; } }
        public decimal Price { get { return this._price; } set { this._price = value; } }

        private decimal _price = 0;
        private string _productid = string.Empty;
        private string _name = string.Empty;
        private string _category = string.Empty;

        public Product(string Category, string ProductId, string Name, Decimal Price)
        {
            this._category = Category;
            this._name = Name;
            this._productid = ProductId;
            this._price = Price;
        }

        public Product()
        {
            this._category = string.Empty;
            this._name = string.Empty;
            this._productid = string.Empty;
            this._price = 0;
        }

    }
}
